import {sync} from 'vuex-router-sync';
import store from 'store/app';
import router from 'component/app/router';
import app from './app.vue';
import App from 'app';
import Layout from 'component/layout/app';
import element from 'element-ui';

App.component(Layout.name, Layout);
App.use(element);
sync(store, router);

export default App.init({
    base: '/',
    ...app,
    router,
    store
});
